package com.zc.angelica.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zc.angelica.entity.ResponseData;
import com.zc.angelica.entity.RoleAccountInfo;

import java.io.Serializable;

/**
 * 账户角色关系表
 * @author makejava
 * @since 2022-04-05 20:21:48
 */
public interface RoleAccountInfoService extends IService<RoleAccountInfo> {

    /***
     * 查看当前用户角色
     * */
    ResponseData select(Integer pageNo, Integer pageSize);


    /**
     * 绑定角色
     * */
    ResponseData binding(Long roleId);

    /**
     * 解绑角色
     * */
    ResponseData unbound(Serializable id);

}

